export function track(name: string, data?: Record<string, unknown>) {
  // TODO: hook into telemetry pipeline
  if (typeof console !== 'undefined' && console.debug) {
    console.debug('[track]', name, data ?? {});
  }
}
